package com.gzy.android_douban.data.model;

public class UsersRegisteredModel {

 private Integer code;
 private String msg;
 private DataDTO data;

 public Integer getCode() {
  return code;
 }

 public void setCode(Integer code) {
  this.code = code;
 }

 public String getMsg() {
  return msg;
 }

 public void setMsg(String msg) {
  this.msg = msg;
 }

 public DataDTO getData() {
  return data;
 }

 public void setData(DataDTO data) {
  this.data = data;
 }

 public static class DataDTO {
  private Integer id;
  private String username;
  private String password;
  private Integer status;

  public Integer getId() {
   return id;
  }

  public void setId(Integer id) {
   this.id = id;
  }

  public String getUsername() {
   return username;
  }

  public void setUsername(String username) {
   this.username = username;
  }

  public String getPassword() {
   return password;
  }

  public void setPassword(String password) {
   this.password = password;
  }

  public Integer getStatus() {
   return status;
  }

  public void setStatus(Integer status) {
   this.status = status;
  }

  @Override
  public String toString() {
   return "DataDTO{" +
           "id=" + id +
           ", username='" + username + '\'' +
           ", password='" + password + '\'' +
           ", status=" + status +
           '}';
  }
 }

 @Override
 public String toString() {
  return "UsersRegisteredModel{" +
          "code=" + code +
          ", msg='" + msg + '\'' +
          ", data=" + data +
          '}';
 }
}
